 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />

  <link type="text/css" href="http://localhost/soviet/public/css/plantilla.css" rel="stylesheet" />

  <link type="text/css" href="http://localhost/soviet/public/CSS/clases.css" rel="stylesheet" />

  <link href="sdmenu/sdmenu.css" type="text/css" rel="stylesheet" />
<link rel="STYLESHEET" type="text/css" href="http://localhost/soviet/ajax/dhtmlxGrid/css/dhtmlXGrid.css">
<link rel="STYLESHEET" type="text/css" href="http://localhost/soviet/ajax/dhtmlxGrid/css/dhtmlXGrid_skins.css">
    <script>_css_prefix="http://localhost/soviet/ajax/dhtmlxGrid/css/"; _js_prefix="http://localhost/soviet/ajax/dhtmlxGrid/js/"; </script>
	<script  src="http://localhost/soviet/ajax/dhtmlxGrid/js/dhtmlXCommon.js"></script>
	<script  src="http://localhost/soviet/ajax/dhtmlxGrid/js/dhtmlXGrid.js"></script>
	<script  src="http://localhost/soviet/ajax/dhtmlxGrid/js/dhtmlXGridCell.js"></script>
	<script  src="http://localhost/soviet/ajax/dhtmlxGrid/js/dhtmlXGrid_start.js"></script>
	<script  src="http://localhost/soviet/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_calck.js"></script>
	<script  src="http://localhost/soviet/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_acheck.js"></script>
	<script  src="http://localhost/soviet/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_calendar.js"></script>
	<script  src="http://localhost/soviet/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_clist.js"></script>
<script  src="http://localhost/soviet/javascript/utilidades2.js"></script>


  <script src="http://localhost/soviet/ajax/dojo/dojo.js" type="text/javascript"></script>
<script type="text/javascript">
	dojo.require("dojo.widget.TabContainer");
	dojo.require("dojo.widget.ContentPane");
	dojo.require("dojo.widget.ContentPane");
	dojo.require("dojo.widget.Button");
	dojo.require("dojo.widget.SortableTable");
</script>
  <title>Documento sin t&iacute;tulo</title>


</head>
<script type="text/javascript" src="http://localhost/soviet/public/calendar.js"></script>
    <script type="text/javascript" src="http://localhost/soviet/public/calendar-setup.js"></script>
    <script type="text/javascript" src="http://localhost/soviet/public/lang/calendar-en.js"></script>
    <style type="text/css"> @import url("http://localhost/soviet/public/calendar-blue.css"); </style>
<body>

	<div id="contenedorCuerpo">

		<table id="tablaContenedora" style="height: 317px;">
    		<tr>

      			<td id="contenedorNegocio"> <?= content(); ?>
      				<form name="form1" action="http://localhost/soviet/registrarplan/validar" method="post">
        				<div id="encabezadoNegocio">ACTUALIZAR PLAN DE DESARROLLO </div>
							<div id="cuerpoNegocio">
                              <div align="justify">
                              <fieldset class="claseRecuadro">
									<legend>Datos del Plan de Desarrollo </legend>
									  <table  width="96%" class="tablaSencilla2">
										<tr>
									      <td width="17%"><div align="right">Descripcion &nbsp;</div></td>
   										  <td width="15%" class="tablaSencilla"><input value='<?= $descripcion ?>' name="descripcion"  size="70px"/></td>
      										<!--<td style="width: 196px; text-align: right; font-family: Arial;">C&oacute;digo &nbsp;</td>-->

										  <td width="24%">&nbsp;</td>
										</tr>

    									<tr>
										  <td width="115"><div align="right">Fecha Constitucion:</div></td>

             				 <td class="tablaSencilla" width="317"><font size="-1"><input name="fechareg" id="fechareg" value='<?= $fechareg ?>' size="22" /></font> &nbsp;
			   				 <INPUT TYPE="image" SRC="http://localhost/soviet/public/img.gif" BORDER="0" id="cal-button-1" >
         					 <script type="text/javascript">
          						  Calendar.setup({
             					  inputField    : "fechareg",
            					  button        : "cal-button-1",
          					      align         : "Tr"
          						  });
       					   </script></td>

            																		</td>
										</tr>

										<tr>
										<td width="17%"><div align="right">Categoria &nbsp;</div></td>
      										<td colspan="2" class="tablaSencilla">
      										<? if ($categoria==""){ ?>
      										<select name="categoria" style="width:150px;">
                                              <option value="--Seleccionar--" selected="selected">--Seleccionar--</option>
                                              <option value="corto plazo">corto plazo</option>
                                              <option value="mediano plazo">mediano plazo</option>
                                              <option value="largo plazo">largo plazo</option>
                                            </select>
                                            <?} else if ($categoria=="corto plazo"){ ?>
                                            <select name="categoria" style="width:150px;">
                  							  <option value="--Seleccionar--">--Seleccionar--</option>
                                              <option value="corto plazo"  selected="selected">corto plazo</option>
                                              <option value="mediano plazo">mediano plazo</option>
                                              <option value="largo plazo">largo plazo</option>
                                            </select>
                                            <? }else if ($categoria=="mediano plazo"){ ?>
                                            <select name="categoria" style="width:150px;">
                                              <option value="--Seleccionar--">--Seleccionar--</option>
                                              <option value="corto plazo">corto plazo</option>
                                              <option value="mediano plazo" selected="selected">mediano plazo</option>
                                              <option value="largo plazo">largo plazo</option>
                                            </select>
                                            <? }else{ ?>
                                            <select name="categoria" style="width:150px;">
                                              <option value="--Seleccionar--">--Seleccionar--</option>
                                              <option value="corto plazo">corto plazo</option>
                                              <option value="mediano plazo">mediano plazo</option>
                                              <option value="largo plazo" selected="selected">largo plazo</option>
                                            </select>
                                            <? } ?>
                                            </td>


   										</tr>
										<tr>
									<td height="20%"></td>
								</tr>
							<tr>
																 <td width="17%">						   </td>
						   <td colspan="2" align="center"><div align="left"></div></td>
							</tr>
							  </table>
							          <div class="tablaSencilla2" align="right">
							          <input type="hidden" name="consejocomunal_id" value=<?= $consejocomunal_id ?> />

							             <input type="hidden" id="planid2" name="planid2" value=<?= $planid2 ?> />
							             <input type="hidden" id="vari" name="vari" value=<?= $vari ?> />
										<script>
											vari.value = opener.document.form1.planid.value;
										</script>
							            <input type="submit" name="Guardar" value="Guardar" />
							            <? if ($nuevo){?>
							            <input type="submit" name="Eliminar" value="Eliminar" disabled="disabled"/>
							            <?} else {?> <input type="submit" name="Eliminar" value="Eliminar"/><? } ?>
							            <input type="button" name="Cancelar" value="Cancelar" onclick="blanquear();" />
				              </div>

                              </fieldset>
							  </div>

			</div>
	</form>	</td>
	</tr>
	</tbody>
	</table>



</div>
</div>
</body>
</html>
